package main

import (
	"net/http"
	_ "net/http/pprof"

	"gitee.com/sy451/kaixuanguilai/models"
)

//查看信息 go tool pprof http://127.0.0.1:8000/debug/pprof/profile
//查看信息 go tool pprof http://127.0.0.1:8000/debug/pprof/heap

func main() {
	go func() {
		http.ListenAndServe("localhost:8000", nil)
	}()
	models.StartServer()
}
